<style>
  /**
 * style.css
 */

  .header {
    align-content: center;
    align-items: stretch;
    box-shadow:
      0 4px 5px 0 rgba(0, 0, 0, 0.14),
      0 2px 9px 1px rgba(0, 0, 0, 0.12),
      0 4px 2px -2px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    font-size: 20px;
    height: 5vh;
    min-height: 50px;
    justify-content: flex-start;
    padding: 16px 16px 0 16px;
    position: fixed;
    transition: transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
    width: 100%;
    will-change: transform;
    z-index: 1000;
    margin: 0;
  }

  .header h1 {
    flex: 1;
    font-size: 20px;
    font-weight: 400;
    margin-top: 7px;
  }


  body {
    font-family: "Benton Sans", "Helvetica Neue", helvetica, arial, sans-serif;
    margin: 0;
  }

  canvas {
    border-width: 1px;
    border-style: solid;
  }

  p {
    margin: 0.2em;
  }

  button {
    font-size: 0.9em;
    margin: 5px 10px;
  }

  .serial-input {
    margin: 10px 0;
    height: 3vh;
    line-height: 3vh;
  }

  .serial-input input {
    font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
    font-size: 0.8em;
    width: 90%;
    border-width: 1px;
    border-style: solid;
  }

  .serial-input input:disabled {
    border-width: 1px;
    border-style: solid;
  }

  .serial-input button {
    width: 8%;
    margin: 0 auto;
  }

  .main {
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    height: 320px;
    /* padding-top: 80px;
  padding-left: 1em;
  padding-right: 1em; */
  }

  .hidden {
    display: none;
  }

  .controls {
    height: 3vh;
    line-height: 3vh;
  }

  .controls span {
    margin-left: 8px;
  }

  .chart-container {
    position: relative;
    height: 100%;
    width: 240px;
    /* margin: 10px auto; */
  }

  #notSupported {
    padding: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
  }

  #log {
    height: 30vh;
    width: 100%;
    font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
    font-size: 0.8em;
    border-width: 1px;
    border-style: solid;
    overflow-x: hidden;
    overflow-x: auto;
    transition: color 0.1s linear;
  }

  /* light.css */

  .header {
    background: #000;
    color: #fff;
  }

  body {
    background-color: #efefef;
  }

  canvas {
    border-color: purple;
    background-color: #fff;
  }

  input,
  select,
  button {
    background-color: #fff;
    color: #000;
  }

  .serial-input input {
    border-color: purple;
  }

  .serial-input input:disabled {
    border-color: #ccc;
  }

  .timestamp {
    color: #999;
  }

  #notSupported {
    background-color: red;
    color: white;
  }

  #log {
    border-color: purple;
    background-color: #fff;
    color: #333;
  }
</style>

<div class="chart-container">
  <canvas id="myChart" class="fullscreen" aria-label="A line chart showing data output from a CPX" role="img">
  </canvas>
</div>